Mollie\WooCommerce\Gateway\GatewayModule A

Total Complexity 62
Dependencies 28
Dependents 1
Total lines 515
Lines of code 385
Logical lines of code 197
Comment lines 57
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
maybeDisableApplePayGateway()
A
48 12 32
run()
A
38 9 73
maybeDisableBankTransferGateway()
A
54 10 20
instantiatePaymentMethodGateways()
A
39 6 78
services()
S
38 3 85
disableMollieOnPaymentMethodChange()
S
60 7 12
instantiatePaymentMethods()
S
47 2 41
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
gatewaySurchargeHandling()
S
81 1 3
paymentMethodEnabledAtMollie()
S
79 1 3